import request from "@/utils/request";

export function fetchQuerySetting(params = {}) {
  return request({
    url: "/api/wecode/query_setting",
    method: "get",
    params
  });
}

export function fetchMiniGameList(params = {}) {
  return request({
    url: "/api/wecode/minigame",
    method: "get",
    params: {
      cmd: "cmd_list_works",
      ...params
    }
  });
}
